//
//  UIColor+Extension.h
//  OoowinQuick
//
//  Created by ooowin-ios on 16/4/27.
//  Copyright © 2016年 Su Jing. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (Extension)

// RGB值
+ (UIColor *)colorWithHex:(long)hexColor;

+ (UIColor *)colorWithHex:(long)hexColor alpha:(CGFloat)alpha;

// 对应 ＃号颜色
+ (UIImage *)imageWithColor:(UIColor *)color;
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
//UIColor *bColor = HEX_C(@"#87CDCB")使用方法


+ (UIColor *)colorWithHexString:(NSString *)string;
+ (UIColor *)colorWithHexString:(NSString *)string withAlpha:(CGFloat)alpha ;
+ (UIColor *)colorRandomColorPlaceholder;
@end
